﻿@model Project.Database.Advertiser
<fieldset>
    <legend></legend>
    <h2>@Model.BrandName</h2>
    <img src= "@Url.Content(Model.BrandLogoURL)" alt="Advert Image" width="100" height="50" />
    <h4> Remaining balance: @Model.Budget.Balance£</h4>                
    <ul>
        @foreach (Project.Database.AdCampain campaign in @Model.AdCampains)
        { 
            <li>Name: @campaign.Name</li>
            <li>Start Date: @campaign.StartDate</li>
            <li>End Date: @campaign.EndDate</li>
            <li>@Html.ActionLink("Details", "ShowCampaign", new { id = campaign.ID })</li>

        }
    </ul>
    @Html.ActionLink("Create campaign", "CreateAdCampaign", "Profile")
    @Html.ActionLink("View budget", "Index", "Budget")
    @Html.ActionLink("Add Balance", "Add", "Budget")
</fieldset>
